package com.example.test.advice.第一章_java开发中常用的方法和准则.建议11_养良好习惯显式声明UID;

import com.example.test.serial.SerializationUtils;

public class Producer {

    public static void main(String[] args) {
        Person person = new Person();
        person.setName("混世魔王");
        //序列化保存到磁盘上
        SerializationUtils.writeObject(person);
    }
}
